import { RouteRecordRaw } from "vue-router";
// 首页模块
const router: Array<RouteRecordRaw> = [
    {
        path: "/cloud",
		name: "cloud",
        redirect:"/cloud/courses",
		component: () => import("@/layout/homeIndex.vue"),
		meta: {
			title: "云课堂",
		},
        children:[
            {
                path: "/cloud/courses",
                component: () => import("@/views/Cloud/index.vue"),
                meta: {
                    title: "云课堂",
                }
            },
            {
                path: "/cloud/skill",
                component: () => import("@/views/Cloud/index.vue"),
                meta: {
                    title: "云课堂",
                }
            },
            {
                path: "/cloud/marketing",
                component: () => import("@/views/Cloud/index.vue"),
                meta: {
                    title: "云课堂",
                }
            },
            {
                path: "/cloud/live",
                component: () => import("@/views/Cloud/index.vue"),
                meta: {
                    title: "云课堂",
                }
            } ,
            {
                path: "/cloud/file",
                component: () => import("@/views/Cloud/index.vue"),
                meta: {
                    title: "云课堂",
                }
            },
            {
                path: "/cloud/detail",
                component: () => import("@/views/Cloud/Detail/index.vue"),
                meta: {
                    title: "云课堂",
                }
            }
        ]
    },
	
];

export default  router;